package com.aizuda.boot.modules.common.constant.enums;

/**
 * @author sangyirong
 * @version 1.0
 * @date 2025/5/15
 */
public enum PermissionType {

    SHARE("share_contract_scop", "可维护的合同范围"),
    MAINTAIN("maintain_contract_scop", "可维护的权限范围"),
    HANDOVER("handover_contract_scop", "可交接的权限范围"),
    CHANGE("change_contract_scope", "可变更的权限范围"),
    DOWNLOAD("download_contract_scope", "可下载的权限范围"),
    DOWNLOAD_FILE("download_file_scope", "可下载文件的权限范围"),
    UPLOAD_FILE("upload_file_scope", "可上传的权限范围"),


    ;
    private final String code;
    private final String msg;

    PermissionType(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }
    public String getMsg() {
        return msg;
    }
}
